package com.link.base.base.saleactivity.dao.mybatis.mapper;


import com.link.base.base.saleactivity.model.SaleActivity;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * @author: wangdawei
 * @date: 2018/6/1
 * 营销活动mapper
 */

public interface SaleActivityMapper extends BasicMapper<SaleActivity> {

    /**
     * 门店商登陆接口
     * @author: wangdawei
     * @param entity
     * @return list列表
     * @date: 2018/6/1
     */
    public List<SaleActivity> queryStoreAcntByExamplePage(SaleActivity entity);

    /**
     * 渠道商登录
     * @author: wangdawei
     * @param entity
     * @return list列表
     * @date: 2018/6/1
     */
    public List<SaleActivity> queryCeStoreAcntByExamplePage(SaleActivity entity);

    /**
     * 查询所有在大屏的活动
     * @author KuangRuifeng
     * @date 2018/12/19
     * @param record 包含loginCorpId的查询信息
     * @return 大屏中展示的活动id数组
     * @throws Exception 异常
     */
    List<SaleActivity> queryFilterIdList(SaleActivity record);
}
